home *** CD-ROM | disk | FTP | other *** search
-
-
-
- rrrreeeennnniiiicccceeee((((1111MMMM)))) rrrreeeennnniiiicccceeee((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- renice - alter priority of running processes
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ////eeeettttcccc////rrrreeeennnniiiicccceeee [ ----nnnn increment | priority ] [ [ ----pppp ] pid ... ]
- [ [ ----gggg ] pgrp ... ] [ [ ----uuuu ] user ... ]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _r_e_n_i_c_e alters the scheduling priority of one or more running processes.
- _r_e_n_i_c_e'ing a process group causes all processes in the process group to
- have their scheduling priority altered. _r_e_n_i_c_e'ing a user causes all
- processes owned by the user to have their scheduling priority altered.
-
- The ----nnnn _i_n_c_r_e_m_e_n_t specifies how the system scheduling priority of the
- specified process(es) is to be adjusted. The _i_n_c_r_e_m_e_n_t option-argument
- is a positive or negative decimal integer that is used to modify the
- system scheduling priority of the specified process(es). The _p_r_i_o_r_i_t_y
- value is taken as the actual system scheduling priority, rather than as
- an increment to the existing scheduling priority.
-
- The parameters are interpreted as process ID's, process group ID's, or
- user names as follows. By default, the processes to be affected are
- specified by their process ID's. To force parameters to be interpreted
- as process group ID's, the ----gggg option can be used. To force the
- parameters to be interpreted as user names, the ----uuuu option can be used.
- Supplying ----pppp resets interpretation to be (the default) process ID's. For
- example,
-
- _////_eeee_tttt_cccc_////_rrrr_eeee_nnnn_iiii_cccc_eeee _++++_1111 _9999_8888_7777 _----_uuuu _dddd_aaaa_eeee_mmmm_oooo_nnnn _rrrr_oooo_oooo_tttt _----_pppp _3333_2222
-
- changes the priority of process ID's 987 and 32, and all processes owned
- by users daemon and root.
-
- Users other than the superuser can only alter the priority of processes
- they own and can only monotonically increase their ``nice value'' within
- the range 0 to PRIO_MAX (20). (This prevents overriding administrative
- fiats.) The superuser can alter the priority of any process and set the
- priority to any value in the range PRIO_MIN (-20) to PRIO_MAX. Useful
- priorities are:
-
- 20 The affected processes run only when nothing else in the system
- wants to.
-
- 0 The ``base'' scheduling priority.
-
- anything negative
- Make things go very fast.
-
- FFFFIIIILLLLEEEESSSS
- /etc/passwd to map user names to user ID's
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- rrrreeeennnniiiicccceeee((((1111MMMM)))) rrrreeeennnniiiicccceeee((((1111MMMM))))
-
-
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- getpriority(2), setpriority(2).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-